import { App } from '@/App.vue';
/*
 * @Author: David Ma
 * @FilePath: \huaxia-real-estate-web\src\main.ts
 * @LastEditors: David Ma
 * @Description: 该文件用于...
 * @Date: 2023-11-24 22:32:10
 */
/* eslint-disable import/order */
import '@/@iconify/icons-bundle'
import App from '@/App.vue'
import vuetify from '@/plugins/vuetify'
import { loadFonts } from '@/plugins/webfontloader'
import router from '@/router'
import '@arco-design/web-vue/dist/arco.css'
import '@core/scss/template/index.scss'
import '@layouts/styles/index.scss'
import '@styles/styles.scss'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import { createApp } from 'vue'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //引入持久化插件

loadFonts()
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate) 
// Create vue app
const app = createApp(App)

// Use plugins
app.use(ElementPlus)
app.use(vuetify)
app.use(pinia)
app.use(router)

// Mount vue app
app.mount('#app')


